package org.csu.mypetstore.service;


import org.csu.mypetstore.domain.Journal;
import org.csu.mypetstore.persistence.JournalMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

//这是日志功能，首先在service层写一下方法，然后就是
@Service
public class JournalService {
  @Autowired
  private JournalMapper journalMapper;


    public  void insertJournal(Journal journal){


        journalMapper.insertJournal(journal);
    }


}
